import { Injectable } from '@nestjs/common';
import { MongoClient } from 'mongodb';

@Injectable()
export class DbService {
  private readonly uri = 'mongodb://127.0.0.1:27017';
  private readonly client = new MongoClient(this.uri);
  public readonly database = this.client.db('rren_nest');
}
